package org.clipjoint.service;

import org.clipjoint.entity.dto.KeyWordDto;
import org.clipjoint.entity.KeyWord;

import java.sql.SQLException;
import java.util.List;

public interface keywordAdminService {

    List<KeyWordDto> list(KeyWordDto keywordDto) throws SQLException;

    Long count(KeyWordDto build) throws SQLException;

    int deleteAll(List<Long> ids);

    int del(Long id) throws SQLException;

    int add(KeyWord build) throws SQLException;
}
